package com.ttx.pattern.example.facade.after.subsystem;

/**
 * 封装类
 * @author TimFruit
 * @date 2019/5/22 9:32
 */

public class Context {
    public void doSomethingComplex(){
        System.out.println("执行复杂方法...");
        ModuleA moduleA=new ModuleA();
        moduleA.doSomethingA();
        ModuleB moduleB=new ModuleB();
        moduleB.doSomethingB();
        ModuleC moduleC=new ModuleC();
        moduleC.doSomethingC();
    }
}
